package com.gongjian.database.entity;


import com.alibaba.fastjson.annotation.JSONField;

import java.sql.Timestamp;

public class Register {

  private int registerId;
  private int userId;
  @JSONField(format="yyyy-MM-dd HH:mm:ss")
  private Timestamp registerTime;

  private String registerState;
  private int registerIsDelete;
  private int activityId;
  private double latiude;
  private double longitude;



  private User user;

  public double getLatiude() {
    return latiude;
  }

  public void setLatiude(double latiude) {
    this.latiude = latiude;
  }

  public double getLongitude() {
    return longitude;
  }

  public void setLongitude(double longitude) {
    this.longitude = longitude;
  }

  public int getActivityId() {
    return activityId;
  }

  public void setActivityId(int activityId) {
    this.activityId = activityId;
  }

  public int getRegisterId() {
    return registerId;
  }

  public void setRegisterId(int registerId) {
    this.registerId = registerId;
  }

  public int getUserId() {
    return userId;
  }

  public void setUserId(int userId) {
    this.userId = userId;
  }

  public Timestamp getRegisterTime() {
    return registerTime;
  }

  public void setRegisterTime(Timestamp registerTime) {
    this.registerTime = registerTime;
  }

  public String getRegisterState() {
    return registerState;
  }

  public void setRegisterState(String registerState) {
    this.registerState = registerState;
  }

  public int getRegisterIsDelete() {
    return registerIsDelete;
  }

  public void setRegisterIsDelete(int registerIsDelete) {
    this.registerIsDelete = registerIsDelete;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }
}
